<?php echo $this->load->view('_elements/navigate'); ?>

<div id="content">

	<div id ="sidebar">
		<?php echo $this->load->view('_elements/FAQmenu'); ?>
		<?php echo $this->load->view('_elements/MostPopular'); ?>
	</div>
	
    <div id="centerbar">
        <div id="leftcenter">
            <div class="titlered"><?php echo $Title?></div>
                        
            <div id="googleApps" onclick=""></div>
            <div id="flogin" onclick=""></div>
            
            <div id="signinblock" class="blockstyle blockbg">
            
            	<?php echo form_open($this->curl . '/login', 'id="myform" name="myform" autocomplete="off"')?>
                <?php if(!empty($login_error)) echo $login_error; ?>
                
                <div class="simpletext"><?php echo T_('Enter Username')?></div>
                <?php echo form_input('user_email', $this->input->post('user_email'), 'class="bluetextfield" tabindex=1')?>
                <div class="simpletext"><?=anchor('', T_('Forgot?'));?></div>

                <div class="simpletext"><?php echo T_('Password')?></div>
                <?php echo form_password('user_password', $this->input->post('user_password'), 'class="bluetextfield" tabindex=2')?>
                <div class="simpletext"><?=anchor('', T_('Forgot?'));?></div>

                <?php echo form_checkbox('rememberme', 'accept', TRUE,'class="formcheckbox" style="margin-top:18px;"'); ?>
                <div class="simpletext"><?php echo T_('Remember Me on this computer')?></div>

                <div class="lock"></div>
                <input id="SignInBut" class="bluebuttonstyle" type="submit" value="<?php echo T_('Sign in'); ?>" name="enter" />
            
            	<?php echo form_close() ?>
            	
            </div>

            <div class="titlered"><?php echo T_('Or if you need to register')?></div>
            <div id="RegisterBut" class="bluebuttonstyle" onclick="location.href='/site/user/registration/'"><?php echo T_('Register')?></div>
        </div>
        <div id="rightcenter">
            <div class="welcomeStyle"><?php echo T_('Welcome<br>To<br>HN Books!')?></div>
        </div>
    </div>
    <div style="position: relative; float: left; width: 85px; height: 488px">
        <?php echo $this->load->view('_elements/Followrefs'); ?>

        <div id="emblem"></div>
    </div>

</div>